<template>
  <div class="flex-col">
    <h2 class='mb20'>地图使用方法：</h2>
    <Amap class="mb20" map-width='80vw' map-height="30vh" @mapLoad="mapLoad"></Amap>

    <h2 class='mb20'>echarts使用方法：</h2>
    <ChartView class="mb20" :chart-option="state.pieOption" width="40vw" height="200px"/>

    <h2>组件使用方法：</h2>
  </div>
</template>

<script setup>
import ChartView from "../../lib/echarts/ChartView.vue";
import example from '../../hooks/module/index'

import Amap from "../../lib/amap/Amap.vue";
let {state, mapLoad} = example()
</script>

<style scoped>

</style>
